/*
 * lab10p1.c
 * CSIS 248 Lab #10
 */

#include <stdio.h>

int getnInput() {
	printf(" Enter a number between 0 and 9: ");
	int input = getchar() - 48; // 48 is ASCII 0
	return input;
}

int main() {
	int a = 10;
	int b = getnInput();

	int c = a / b;

	printf("a = %d, b = %d, c = %d\n", a, b, c);

	return 0;
}
